package com.danger.Activity.TabsFragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.danger.Activity.R;

/**
 * Created by danger on 2016/4/10.
 */
public class ImageFragment1 extends Fragment {

    private ImageView imageView;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        imageView = new ImageView(getActivity());
        imageView.setImageResource(R.drawable.first);
        return imageView;
    }
}
